<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>字体系列</title>

    <style>
        h2 {
            font-family: '微软雅黑';
            /* font-weight: 400; */
            font-weight: normal;
        }
        p {
            font-size: 10px;
        }
        .fontweight {
            /* bold字体加粗 */
            /* font-weight: bold; */
            font-weight: 700;
        }
    </style>

</head>
<body>
    <img src="font-weight字体粗细.png" alt="">
    <br><br>
    <h3>font-family设置字体</h3>
    <h3>font-size字体大小</h3>
    <h3>font-weight字体属性</h3>
    <br><br>
    <h2>h2标签</h2>
    <p>第一个p标签</p>
    <p>第二个p标签</p>
    <p>第三个p标签</p>
    <p>第四个p标签</p>
    <p>第五个p标签</p>
    <p>第六个p标签</p>
    <div class="fontweight">font-weight-div显示</div>

</body>
</html>